package niconama04.client;

import java.util.List;

import niconama04.shared.data.Category;
import niconama04.shared.data.Original;
import niconama04.shared.data.Sentence;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("create")
public interface CreateService extends RemoteService {

	List<Original> getOriginals() throws Exception;

	List<Category> getCategorys() throws Exception;

	Sentence getSentenceByOriginal(Original x_original) throws Exception;

	Sentence getSentenceByCategory(Category x_category) throws Exception;
}
